<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/6/27 0027
  Time: 上午 9:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加用户</title>
    <%@ include file="/WEB-INF/jsp/head.jsp" %>
</head>
<body>
<div class="container">
    <p class="text-center center-block">添加用户</p>
    <form role="form" class="form-horizontal" action="${pageContext.request.contextPath}/user/add" method="post">
        <div class="form-group">
            <label for="user_name" class="col-sm-2 control-label">用户名：</label>
            <div class="col-sm-10">
                <input class="form-control" placeholder="请输入名" id="user_name" type="text" name="userName"/>
            </div>
        </div>
        <div class="form-group">
            <label for="age" class="col-sm-2 control-label"> 年龄：</label>
            <div class="col-sm-10">
                <input class="form-control" id="age" type="text" name="age"/>
            </div>
        </div>
        <div class="form-group">
            <label for="password" class="col-sm-2 control-label"> 密码：</label>
            <div class="col-sm-10">
                <input class="form-control" id="password" type="password" name="password"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-default btn-primary">提交</button>
            </div>
        </div>
    </form>
</div>
<%@ include file="/WEB-INF/jsp/scripts.jsp" %>

</body>
</html>
